<!DOCTYPE html>
<html class="x-admin-sm" xmlns:th="http://www.w3.org/1999/xhtml">
    
    <head>
        <meta charset="UTF-8">
        <title>攻略管理</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8" />
        <link rel="stylesheet" th:href="@{/asserts/css/adminfont.css}">
        <link rel="stylesheet" th:href="@{/asserts/css/xadmin.css}">
        <link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" rel="stylesheet" />
        <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
        <script th:src="@{/asserts/lib/layui/layui.js}" charset="utf-8"></script>
        <script th:src="@{/asserts/js/xadmin.js}"  type="text/javascript" ></script>
		<script th:src="@{/asserts/js/admin/admin_ab02.js}" type="text/javascript" ></script>
		
        <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
        <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        
    </head>

    <body>
        <div class="x-nav">
            <span class="layui-breadcrumb">
                <a href="">首页</a>
                <a><cite>攻略管理</cite></a>
            </span>
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
                <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i>
            </a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body ">
                                <div class="layui-input-inline layui-show-xs-block">
                                    <input class="layui-input" placeholder="省市" name="cate_name" id="city"></div>
                                 <div class="layui-input-inline layui-show-xs-block">
                                    <input class="layui-input" placeholder="名称" name="cate_name" id="name"></div>
                                <div class="layui-input-inline layui-show-xs-block">
                                	<button class="layui-btn layui-btn-warm layui-btn-xs"  onclick="find($('#city').val(),$('#name').val())" ><i class="layui-icon">&#xe642;</i>查询攻略</button>
                                </div>
                            <hr>
                            <blockquote class="layui-elem-quote"><i class="layui-icon x-show" status='true'>&#xe623;</i></blockquote>
                        </div>
                        <div class="layui-card-header">
                        <button class="layui-btn"  lay-submit="" onclick='xadmin.open("添加攻略","/admin/strategy/new")'><i class="layui-icon"></i>添加攻略</button>
                        </div>
                        <div class="layui-card-body ">
                            <table class="layui-table layui-form" id="ab02Result">
                              <thead>
                                <tr>
                                  <th width="10">省市ID</th>
                                  <th>名称</th>
                                  <th>总结</th>
                                  <th>行程详情</th>
                                  <th>操作</th>
                              </thead>
                              <tbody class="x-cate">
                                
                              </tbody>
                            </table>
                        </div>
                        <div class="layui-card-body ">
                            <div class="page">
                                <div>
                                	<a class="num" href="#" onclick="startPage('#pageNum')" >首页</a>
									<a class="prev" href="#" onclick="decrease('#pageNum')">&lt;&lt;</a>
									<a class="num" href="#" id="pageNum">1</a>
									<a class="next" href="#" onclick="add('#pageNum',$('#tolPage').html())">&gt;&gt;</a>
									<a class="num" href="#" onclick="endPage('#pageNum')" >尾页</a>
									<span id="tolPage" style="visibility:hidden"></span>
								</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>
